package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author およそ神
 * @version JDK 1.8
 */
@EnableEurekaClient
@SpringBootApplication
@MapperScan(basePackages = "com.fan.mapper.**")
@EnableDiscoveryClient// @EnableEurekaClient 开启服务发现客户端的注解，可以用来获取一些配置的信息，得到具体的微服务
public class PersonApplicationThree {
    public static void main(String[] args) {
        SpringApplication.run(PersonApplicationThree.class, args);
    }
}
